package Java.com.wang.Tre;

public class Node<T> {
    public Node<T> lChild;
    private T data;
    public Node<T> rChild;

    public Node() {
        data = null;
        lChild = null;
        rChild = null;
    }

    public Node(T x) {
        data = x;
        lChild = null;
        rChild = null;
    }

    public T getData() {
        return data;
    }

}

